<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>System.Win32.SimpleMAPI</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">Win32-2.12.0.1: A binding to Windows Win32 API.</span><ul class="links" id="page-menu"><li><a href="src/System.Win32.SimpleMAPI.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) Esa Ilari Vuokko 2006</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Esa Ilari Vuokko &lt;ei@vuokko.info&gt;</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">System.Win32.SimpleMAPI</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>FFI-bindings to interact with SimpleMAPI</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><span class="keyword">type</span> <a href="#t:ULONG">ULONG</a> = <a href="System-Win32-Types.html#t:DWORD" title="System.Win32.Types">DWORD</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:LHANDLE">LHANDLE</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><span class="keyword">newtype</span> <a href="#t:MapiRecipDesc">MapiRecipDesc</a> = <a href="#v:MapiRecipDesc">MapiRecipDesc</a> ()</li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiFlag">MapiFlag</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mAPI_LOGON_UI">mAPI_LOGON_UI</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_NEW_SESSION">mAPI_NEW_SESSION</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_FORCE_DOWNLOAD">mAPI_FORCE_DOWNLOAD</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_DIALOG">mAPI_DIALOG</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_UNREAD_ONLY">mAPI_UNREAD_ONLY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_LONG_MSGID">mAPI_LONG_MSGID</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_GUARANTEE_FIFO">mAPI_GUARANTEE_FIFO</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_ENVELOPE_ONLY">mAPI_ENVELOPE_ONLY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_PEEK">mAPI_PEEK</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_BODY_AS_FILE">mAPI_BODY_AS_FILE</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_SUPPRESS_ATTACH">mAPI_SUPPRESS_ATTACH</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_AB_NOMODIFY">mAPI_AB_NOMODIFY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_OLE">mAPI_OLE</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_OLE_STATIC">mAPI_OLE_STATIC</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_UNREAD">mAPI_UNREAD</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_RECEIPT_REQUESTED">mAPI_RECEIPT_REQUESTED</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mAPI_SENT">mAPI_SENT</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li class="src short"><a href="#v:mapiErrors">mapiErrors</a> :: [(<a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a>, <a href="../base/Data-String.html#t:String" title="Data.String">String</a>)]</li><li class="src short"><a href="#v:mapiErrorString">mapiErrorString</a> :: <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li class="src short"><a href="#v:mapiFail">mapiFail</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mapiFail_">mapiFail_</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiLogonType">MapiLogonType</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mkMapiLogon">mkMapiLogon</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiLogoffType">MapiLogoffType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mkMapiLogoff">mkMapiLogoff</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiResolveNameType">MapiResolveNameType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a>) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mkMapiResolveName">mkMapiResolveName</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiFreeBufferType">MapiFreeBufferType</a> = <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> () -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mkMapiFreeBuffer">mkMapiFreeBuffer</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiSendMailType">MapiSendMailType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mkMapiSendMail">mkMapiSendMail</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:MapiFuncs">MapiFuncs</a> = <a href="#v:MapiFuncs">MapiFuncs</a> {<ul class="subs"><li><a href="#v:mapifLogon">mapifLogon</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a></li><li><a href="#v:mapifLogoff">mapifLogoff</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a></li><li><a href="#v:mapifResolveName">mapifResolveName</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a></li><li><a href="#v:mapifFreeBuffer">mapifFreeBuffer</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a></li><li><a href="#v:mapifSendMail">mapifSendMail</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a></li></ul>}</li><li class="src short"><span class="keyword">type</span> <a href="#t:MapiLoaded">MapiLoaded</a> = (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a>, <a href="../base/Foreign-ForeignPtr.html#t:ForeignPtr" title="Foreign.ForeignPtr">ForeignPtr</a> ())</li><li class="src short"><a href="#v:loadMapiFuncs">loadMapiFuncs</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a></li><li class="src short"><a href="#v:loadMapiDll">loadMapiDll</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a>, <a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a>)</li><li class="src short"><a href="#v:withMapiFuncs">withMapiFuncs</a> :: [<a href="../base/Data-String.html#t:String" title="Data.String">String</a>] -&gt; (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><a href="#v:loadMapi">loadMapi</a> :: [<a href="../base/Data-String.html#t:String" title="Data.String">String</a>] -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLoaded" title="System.Win32.SimpleMAPI">MapiLoaded</a></li><li class="src short"><a href="#v:c_FreeLibraryFinaliser">c_FreeLibraryFinaliser</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> (<a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> ())</li><li class="src short"><a href="#v:withMapiLoaded">withMapiLoaded</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLoaded" title="System.Win32.SimpleMAPI">MapiLoaded</a> -&gt; (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><a href="#v:maybeHWND">maybeHWND</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:mapiLogon">mapiLogon</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a></li><li class="src short"><a href="#v:mapiLogoff">mapiLogoff</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:RecipientClass">RecipientClass</a><ul class="subs"><li>= <a href="#v:RcOriginal">RcOriginal</a></li><li>| <a href="#v:RcTo">RcTo</a></li><li>| <a href="#v:RcCc">RcCc</a></li><li>| <a href="#v:RcBcc">RcBcc</a></li></ul></li><li class="src short"><a href="#v:rcToULONG">rcToULONG</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li class="src short"><a href="#v:uLONGToRc">uLONGToRc</a> :: <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Recipient">Recipient</a><ul class="subs"><li>= <a href="#v:RecipResolve">RecipResolve</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a>) <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a>)</li><li>| <a href="#v:Recip">Recip</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:Recipients">Recipients</a> = [(<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>, <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a>)]</li><li class="src short"><a href="#v:simpleRecip">simpleRecip</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a></li><li class="src short"><a href="#v:withRecipient">withRecipient</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><a href="#v:withRecipients">withRecipients</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipients" title="System.Win32.SimpleMAPI">Recipients</a> -&gt; (<a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><span class="keyword">data</span> <a href="#t:FileTag">FileTag</a> = <a href="#v:FileTag">FileTag</a> {<ul class="subs"><li><a href="#v:ftTag">ftTag</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:ftEncoding">ftEncoding</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li></ul>}</li><li class="src short"><a href="#v:defFileTag">defFileTag</a> :: <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a></li><li class="src short"><a href="#v:withFileTag">withFileTag</a> :: <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><span class="keyword">data</span> <a href="#t:Attachment">Attachment</a> = <a href="#v:Attachment">Attachment</a> {<ul class="subs"><li><a href="#v:attFlag">attFlag</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li><a href="#v:attPosition">attPosition</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></li><li><a href="#v:attPath">attPath</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:attName">attName</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:attTag">attTag</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a></li></ul>}</li><li class="src short"><a href="#v:defAttachment">defAttachment</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:Attachments">Attachments</a> = [<a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a>]</li><li class="src short"><a href="#v:withAttachments">withAttachments</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachments" title="System.Win32.SimpleMAPI">Attachments</a> -&gt; (<a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><span class="keyword">data</span> <a href="#t:Message">Message</a> = <a href="#v:Message">Message</a> {<ul class="subs"><li><a href="#v:msgSubject">msgSubject</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:msgBody">msgBody</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:msgType">msgType</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:msgDate">msgDate</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:msgConversationId">msgConversationId</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></li><li><a href="#v:msgFlags">msgFlags</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></li><li><a href="#v:msgFrom">msgFrom</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a></li><li><a href="#v:msgRecips">msgRecips</a> :: <a href="System-Win32-SimpleMAPI.html#t:Recipients" title="System.Win32.SimpleMAPI">Recipients</a></li><li><a href="#v:msgAttachments">msgAttachments</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachments" title="System.Win32.SimpleMAPI">Attachments</a></li></ul>}</li><li class="src short"><a href="#v:defMessage">defMessage</a> :: <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a></li><li class="src short"><a href="#v:withMessage">withMessage</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li><li class="src short"><a href="#v:mapiSendMail">mapiSendMail</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> ()</li><li class="src short"><a href="#v:handleIOException">handleIOException</a> :: (<a href="../base/Control-Exception.html#t:IOException" title="Control.Exception">IOException</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a</li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:ULONG" class="def">ULONG</a> = <a href="System-Win32-Types.html#t:DWORD" title="System.Win32.Types">DWORD</a> <a href="src/System.Win32.SimpleMAPI.html#ULONG" class="link">Source</a> <a href="#t:ULONG" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:LHANDLE" class="def">LHANDLE</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#LHANDLE" class="link">Source</a> <a href="#t:LHANDLE" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:MapiRecipDesc" class="def">MapiRecipDesc</a> <a href="src/System.Win32.SimpleMAPI.html#MapiRecipDesc" class="link">Source</a> <a href="#t:MapiRecipDesc" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MapiRecipDesc" class="def">MapiRecipDesc</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiFlag" class="def">MapiFlag</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiFlag" class="link">Source</a> <a href="#t:MapiFlag" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_LOGON_UI" class="def">mAPI_LOGON_UI</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_LOGON_UI" class="link">Source</a> <a href="#v:mAPI_LOGON_UI" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_NEW_SESSION" class="def">mAPI_NEW_SESSION</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_NEW_SESSION" class="link">Source</a> <a href="#v:mAPI_NEW_SESSION" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_FORCE_DOWNLOAD" class="def">mAPI_FORCE_DOWNLOAD</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_FORCE_DOWNLOAD" class="link">Source</a> <a href="#v:mAPI_FORCE_DOWNLOAD" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_DIALOG" class="def">mAPI_DIALOG</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_DIALOG" class="link">Source</a> <a href="#v:mAPI_DIALOG" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_UNREAD_ONLY" class="def">mAPI_UNREAD_ONLY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_UNREAD_ONLY" class="link">Source</a> <a href="#v:mAPI_UNREAD_ONLY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_LONG_MSGID" class="def">mAPI_LONG_MSGID</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_LONG_MSGID" class="link">Source</a> <a href="#v:mAPI_LONG_MSGID" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_GUARANTEE_FIFO" class="def">mAPI_GUARANTEE_FIFO</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_GUARANTEE_FIFO" class="link">Source</a> <a href="#v:mAPI_GUARANTEE_FIFO" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_ENVELOPE_ONLY" class="def">mAPI_ENVELOPE_ONLY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_ENVELOPE_ONLY" class="link">Source</a> <a href="#v:mAPI_ENVELOPE_ONLY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_PEEK" class="def">mAPI_PEEK</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_PEEK" class="link">Source</a> <a href="#v:mAPI_PEEK" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_BODY_AS_FILE" class="def">mAPI_BODY_AS_FILE</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_BODY_AS_FILE" class="link">Source</a> <a href="#v:mAPI_BODY_AS_FILE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_SUPPRESS_ATTACH" class="def">mAPI_SUPPRESS_ATTACH</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_SUPPRESS_ATTACH" class="link">Source</a> <a href="#v:mAPI_SUPPRESS_ATTACH" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_AB_NOMODIFY" class="def">mAPI_AB_NOMODIFY</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_AB_NOMODIFY" class="link">Source</a> <a href="#v:mAPI_AB_NOMODIFY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_OLE" class="def">mAPI_OLE</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_OLE" class="link">Source</a> <a href="#v:mAPI_OLE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_OLE_STATIC" class="def">mAPI_OLE_STATIC</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_OLE_STATIC" class="link">Source</a> <a href="#v:mAPI_OLE_STATIC" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_UNREAD" class="def">mAPI_UNREAD</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_UNREAD" class="link">Source</a> <a href="#v:mAPI_UNREAD" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_RECEIPT_REQUESTED" class="def">mAPI_RECEIPT_REQUESTED</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_RECEIPT_REQUESTED" class="link">Source</a> <a href="#v:mAPI_RECEIPT_REQUESTED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mAPI_SENT" class="def">mAPI_SENT</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="src/System.Win32.SimpleMAPI.html#mAPI_SENT" class="link">Source</a> <a href="#v:mAPI_SENT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiErrors" class="def">mapiErrors</a> :: [(<a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a>, <a href="../base/Data-String.html#t:String" title="Data.String">String</a>)] <a href="src/System.Win32.SimpleMAPI.html#mapiErrors" class="link">Source</a> <a href="#v:mapiErrors" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiErrorString" class="def">mapiErrorString</a> :: <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="src/System.Win32.SimpleMAPI.html#mapiErrorString" class="link">Source</a> <a href="#v:mapiErrorString" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiFail" class="def">mapiFail</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#mapiFail" class="link">Source</a> <a href="#v:mapiFail" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiFail_" class="def">mapiFail_</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/System.Win32.SimpleMAPI.html#mapiFail_" class="link">Source</a> <a href="#v:mapiFail_" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiLogonType" class="def">MapiLogonType</a> = <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiLogonType" class="link">Source</a> <a href="#t:MapiLogonType" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mkMapiLogon" class="def">mkMapiLogon</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a> <a href="src/System.Win32.SimpleMAPI.html#mkMapiLogon" class="link">Source</a> <a href="#v:mkMapiLogon" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiLogoffType" class="def">MapiLogoffType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiLogoffType" class="link">Source</a> <a href="#t:MapiLogoffType" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mkMapiLogoff" class="def">mkMapiLogoff</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a> <a href="src/System.Win32.SimpleMAPI.html#mkMapiLogoff" class="link">Source</a> <a href="#v:mkMapiLogoff" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiResolveNameType" class="def">MapiResolveNameType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-Types.html#t:LPSTR" title="System.Win32.Types">LPSTR</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a>) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiResolveNameType" class="link">Source</a> <a href="#t:MapiResolveNameType" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mkMapiResolveName" class="def">mkMapiResolveName</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a> <a href="src/System.Win32.SimpleMAPI.html#mkMapiResolveName" class="link">Source</a> <a href="#v:mkMapiResolveName" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiFreeBufferType" class="def">MapiFreeBufferType</a> = <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> () -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiFreeBufferType" class="link">Source</a> <a href="#t:MapiFreeBufferType" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mkMapiFreeBuffer" class="def">mkMapiFreeBuffer</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a> <a href="src/System.Win32.SimpleMAPI.html#mkMapiFreeBuffer" class="link">Source</a> <a href="#v:mkMapiFreeBuffer" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiSendMailType" class="def">MapiSendMailType</a> = <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#MapiSendMailType" class="link">Source</a> <a href="#t:MapiSendMailType" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mkMapiSendMail" class="def">mkMapiSendMail</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a> <a href="src/System.Win32.SimpleMAPI.html#mkMapiSendMail" class="link">Source</a> <a href="#v:mkMapiSendMail" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MapiFuncs" class="def">MapiFuncs</a> <a href="src/System.Win32.SimpleMAPI.html#MapiFuncs" class="link">Source</a> <a href="#t:MapiFuncs" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MapiFuncs" class="def">MapiFuncs</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:mapifLogon" class="def">mapifLogon</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLogonType" title="System.Win32.SimpleMAPI">MapiLogonType</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:mapifLogoff" class="def">mapifLogoff</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLogoffType" title="System.Win32.SimpleMAPI">MapiLogoffType</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:mapifResolveName" class="def">mapifResolveName</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiResolveNameType" title="System.Win32.SimpleMAPI">MapiResolveNameType</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:mapifFreeBuffer" class="def">mapifFreeBuffer</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFreeBufferType" title="System.Win32.SimpleMAPI">MapiFreeBufferType</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:mapifSendMail" class="def">mapifSendMail</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiSendMailType" title="System.Win32.SimpleMAPI">MapiSendMailType</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MapiLoaded" class="def">MapiLoaded</a> = (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a>, <a href="../base/Foreign-ForeignPtr.html#t:ForeignPtr" title="Foreign.ForeignPtr">ForeignPtr</a> ()) <a href="src/System.Win32.SimpleMAPI.html#MapiLoaded" class="link">Source</a> <a href="#t:MapiLoaded" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:loadMapiFuncs" class="def">loadMapiFuncs</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> <a href="src/System.Win32.SimpleMAPI.html#loadMapiFuncs" class="link">Source</a> <a href="#v:loadMapiFuncs" class="selflink">#</a></p><div class="doc empty">&nbsp;</div></div><div class="top"><p class="src"><a id="v:loadMapiDll" class="def">loadMapiDll</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a>, <a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a>) <a href="src/System.Win32.SimpleMAPI.html#loadMapiDll" class="link">Source</a> <a href="#v:loadMapiDll" class="selflink">#</a></p><div class="doc empty">&nbsp;</div></div><div class="top"><p class="src"><a id="v:withMapiFuncs" class="def">withMapiFuncs</a> :: [<a href="../base/Data-String.html#t:String" title="Data.String">String</a>] -&gt; (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withMapiFuncs" class="link">Source</a> <a href="#v:withMapiFuncs" class="selflink">#</a></p><div class="doc empty">&nbsp;</div></div><div class="top"><p class="src"><a id="v:loadMapi" class="def">loadMapi</a> :: [<a href="../base/Data-String.html#t:String" title="Data.String">String</a>] -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:MapiLoaded" title="System.Win32.SimpleMAPI">MapiLoaded</a> <a href="src/System.Win32.SimpleMAPI.html#loadMapi" class="link">Source</a> <a href="#v:loadMapi" class="selflink">#</a></p><div class="doc empty">&nbsp;</div></div><div class="top"><p class="src"><a id="v:c_FreeLibraryFinaliser" class="def">c_FreeLibraryFinaliser</a> :: <a href="../base/Foreign-Ptr.html#t:FunPtr" title="Foreign.Ptr">FunPtr</a> (<a href="System-Win32-Types.html#t:HMODULE" title="System.Win32.Types">HMODULE</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> ()) <a href="src/System.Win32.SimpleMAPI.html#c_FreeLibraryFinaliser" class="link">Source</a> <a href="#v:c_FreeLibraryFinaliser" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withMapiLoaded" class="def">withMapiLoaded</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiLoaded" title="System.Win32.SimpleMAPI">MapiLoaded</a> -&gt; (<a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withMapiLoaded" class="link">Source</a> <a href="#v:withMapiLoaded" class="selflink">#</a></p><div class="doc empty">&nbsp;</div></div><div class="top"><p class="src"><a id="v:maybeHWND" class="def">maybeHWND</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#maybeHWND" class="link">Source</a> <a href="#v:maybeHWND" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiLogon" class="def">mapiLogon</a> <a href="src/System.Win32.SimpleMAPI.html#mapiLogon" class="link">Source</a> <a href="#v:mapiLogon" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a></td><td class="doc"><p>Functions loaded from MAPI DLL</p></td></tr><tr><td class="src">-&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a></td><td class="doc"><p>Parent window, used for modal logon dialog</p></td></tr><tr><td class="src">-&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></td><td class="doc"><p>Session</p></td></tr><tr><td class="src">-&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></td><td class="doc"><p>Password</p></td></tr><tr><td class="src">-&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></td><td class="doc"><p>None, one or many flags: FORCE_DOWNLOAD, NEW_SESSION, LOGON_UI, PASSWORD_UI</p></td></tr><tr><td class="src">-&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create Simple MAPI-session by logon</p></div></div><div class="top"><p class="src"><a id="v:mapiLogoff" class="def">mapiLogoff</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/System.Win32.SimpleMAPI.html#mapiLogoff" class="link">Source</a> <a href="#v:mapiLogoff" class="selflink">#</a></p><div class="doc"><p>End Simple MAPI-session</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:RecipientClass" class="def">RecipientClass</a> <a href="src/System.Win32.SimpleMAPI.html#RecipientClass" class="link">Source</a> <a href="#t:RecipientClass" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:RcOriginal" class="def">RcOriginal</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:RcTo" class="def">RcTo</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:RcCc" class="def">RcCc</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:RcBcc" class="def">RcBcc</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:RecipientClass">Instances</h4><details id="i:RecipientClass" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:RecipientClass:Enum:1"></span> <a href="../base/Prelude.html#t:Enum" title="Prelude">Enum</a> <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-247" class="link">Source</a> <a href="#t:RecipientClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:RecipientClass:Enum:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="../base/src/GHC.Enum.html#succ" class="link">Source</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="../base/src/GHC.Enum.html#pred" class="link">Source</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="../base/src/GHC.Enum.html#toEnum" class="link">Source</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> <a href="../base/src/GHC.Enum.html#fromEnum" class="link">Source</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; [<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>] <a href="../base/src/GHC.Enum.html#enumFrom" class="link">Source</a> <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; [<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>] <a href="../base/src/GHC.Enum.html#enumFromThen" class="link">Source</a> <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; [<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>] <a href="../base/src/GHC.Enum.html#enumFromTo" class="link">Source</a> <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; [<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>] <a href="../base/src/GHC.Enum.html#enumFromThenTo" class="link">Source</a> <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:RecipientClass:Show:2"></span> <a href="../base/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-247" class="link">Source</a> <a href="#t:RecipientClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:RecipientClass:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showsPrec" class="link">Source</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/src/GHC.Show.html#show" class="link">Source</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>] -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showList" class="link">Source</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:RecipientClass:Eq:3"></span> <a href="../base/Data-Eq.html#t:Eq" title="Data.Eq">Eq</a> <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-247" class="link">Source</a> <a href="#t:RecipientClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:RecipientClass:Eq:3"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:RecipientClass:Ord:4"></span> <a href="../base/Data-Ord.html#t:Ord" title="Data.Ord">Ord</a> <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-247" class="link">Source</a> <a href="#t:RecipientClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:RecipientClass:Ord:4"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Ord.html#t:Ordering" title="Data.Ord">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="#v:min" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:rcToULONG" class="def">rcToULONG</a> :: <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> <a href="src/System.Win32.SimpleMAPI.html#rcToULONG" class="link">Source</a> <a href="#v:rcToULONG" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:uLONGToRc" class="def">uLONGToRc</a> :: <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> <a href="src/System.Win32.SimpleMAPI.html#uLONGToRc" class="link">Source</a> <a href="#v:uLONGToRc" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Recipient" class="def">Recipient</a> <a href="src/System.Win32.SimpleMAPI.html#Recipient" class="link">Source</a> <a href="#t:Recipient" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:RecipResolve" class="def">RecipResolve</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a>) <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a>)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:Recip" class="def">Recip</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Recipient">Instances</h4><details id="i:Recipient" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Recipient:Show:1"></span> <a href="../base/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-259" class="link">Source</a> <a href="#t:Recipient" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Recipient:Show:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a> -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showsPrec" class="link">Source</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/src/GHC.Show.html#show" class="link">Source</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a>] -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showList" class="link">Source</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Recipients" class="def">Recipients</a> = [(<a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a>, <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a>)] <a href="src/System.Win32.SimpleMAPI.html#Recipients" class="link">Source</a> <a href="#t:Recipients" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:simpleRecip" class="def">simpleRecip</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a> <a href="src/System.Win32.SimpleMAPI.html#simpleRecip" class="link">Source</a> <a href="#v:simpleRecip" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withRecipient" class="def">withRecipient</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:RecipientClass" title="System.Win32.SimpleMAPI">RecipientClass</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withRecipient" class="link">Source</a> <a href="#v:withRecipient" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withRecipients" class="def">withRecipients</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Recipients" title="System.Win32.SimpleMAPI">Recipients</a> -&gt; (<a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:MapiRecipDesc" title="System.Win32.SimpleMAPI">MapiRecipDesc</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withRecipients" class="link">Source</a> <a href="#v:withRecipients" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FileTag" class="def">FileTag</a> <a href="src/System.Win32.SimpleMAPI.html#FileTag" class="link">Source</a> <a href="#t:FileTag" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:FileTag" class="def">FileTag</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:ftTag" class="def">ftTag</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc"><p>mime</p></div></li><li><dfn class="src"><a id="v:ftEncoding" class="def">ftEncoding</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:FileTag">Instances</h4><details id="i:FileTag" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:FileTag:Show:1"></span> <a href="../base/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-328" class="link">Source</a> <a href="#t:FileTag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:FileTag:Show:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showsPrec" class="link">Source</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/src/GHC.Show.html#show" class="link">Source</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a>] -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showList" class="link">Source</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:defFileTag" class="def">defFileTag</a> :: <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> <a href="src/System.Win32.SimpleMAPI.html#defFileTag" class="link">Source</a> <a href="#v:defFileTag" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withFileTag" class="def">withFileTag</a> :: <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withFileTag" class="link">Source</a> <a href="#v:withFileTag" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Attachment" class="def">Attachment</a> <a href="src/System.Win32.SimpleMAPI.html#Attachment" class="link">Source</a> <a href="#t:Attachment" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Attachment" class="def">Attachment</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:attFlag" class="def">attFlag</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:attPosition" class="def">attPosition</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:ULONG" title="System.Win32.SimpleMAPI">ULONG</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:attPath" class="def">attPath</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:attName" class="def">attName</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:attTag" class="def">attTag</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:FileTag" title="System.Win32.SimpleMAPI">FileTag</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Attachment">Instances</h4><details id="i:Attachment" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Attachment:Show:1"></span> <a href="../base/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-355" class="link">Source</a> <a href="#t:Attachment" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Attachment:Show:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a> -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showsPrec" class="link">Source</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/src/GHC.Show.html#show" class="link">Source</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a>] -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showList" class="link">Source</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:defAttachment" class="def">defAttachment</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a> <a href="src/System.Win32.SimpleMAPI.html#defAttachment" class="link">Source</a> <a href="#v:defAttachment" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Attachments" class="def">Attachments</a> = [<a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a>] <a href="src/System.Win32.SimpleMAPI.html#Attachments" class="link">Source</a> <a href="#t:Attachments" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withAttachments" class="def">withAttachments</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachments" title="System.Win32.SimpleMAPI">Attachments</a> -&gt; (<a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Attachment" title="System.Win32.SimpleMAPI">Attachment</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withAttachments" class="link">Source</a> <a href="#v:withAttachments" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Message" class="def">Message</a> <a href="src/System.Win32.SimpleMAPI.html#Message" class="link">Source</a> <a href="#t:Message" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Message" class="def">Message</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:msgSubject" class="def">msgSubject</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgBody" class="def">msgBody</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgType" class="def">msgType</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgDate" class="def">msgDate</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgConversationId" class="def">msgConversationId</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgFlags" class="def">msgFlags</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgFrom" class="def">msgFrom</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-SimpleMAPI.html#t:Recipient" title="System.Win32.SimpleMAPI">Recipient</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgRecips" class="def">msgRecips</a> :: <a href="System-Win32-SimpleMAPI.html#t:Recipients" title="System.Win32.SimpleMAPI">Recipients</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:msgAttachments" class="def">msgAttachments</a> :: <a href="System-Win32-SimpleMAPI.html#t:Attachments" title="System.Win32.SimpleMAPI">Attachments</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><h4 class="instances details-toggle-control details-toggle" data-details-id="i:Message">Instances</h4><details id="i:Message" open="open"><summary class="hide-when-js-enabled">Instances details</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Message:Show:1"></span> <a href="../base/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a></span> <a href="src/System.Win32.SimpleMAPI.html#line-388" class="link">Source</a> <a href="#t:Message" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><details id="i:id:Message:Show:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="System-Win32-SimpleMAPI.html">System.Win32.SimpleMAPI</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showsPrec" class="link">Source</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="../base/Data-String.html#t:String" title="Data.String">String</a> <a href="../base/src/GHC.Show.html#show" class="link">Source</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a>] -&gt; <a href="../base/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="../base/src/GHC.Show.html#showList" class="link">Source</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:defMessage" class="def">defMessage</a> :: <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> <a href="src/System.Win32.SimpleMAPI.html#defMessage" class="link">Source</a> <a href="#v:defMessage" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withMessage" class="def">withMessage</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#withMessage" class="link">Source</a> <a href="#v:withMessage" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mapiSendMail" class="def">mapiSendMail</a> :: <a href="System-Win32-SimpleMAPI.html#t:MapiFuncs" title="System.Win32.SimpleMAPI">MapiFuncs</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:LHANDLE" title="System.Win32.SimpleMAPI">LHANDLE</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:Message" title="System.Win32.SimpleMAPI">Message</a> -&gt; <a href="System-Win32-SimpleMAPI.html#t:MapiFlag" title="System.Win32.SimpleMAPI">MapiFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/System.Win32.SimpleMAPI.html#mapiSendMail" class="link">Source</a> <a href="#v:mapiSendMail" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:handleIOException" class="def">handleIOException</a> :: (<a href="../base/Control-Exception.html#t:IOException" title="Control.Exception">IOException</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/System.Win32.SimpleMAPI.html#handleIOException" class="link">Source</a> <a href="#v:handleIOException" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.25.1</p></div></body></html>